package com.example.jpa.dao;

import com.example.jpa.entity.Student;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface StudentDao extends JpaRepository<Student,Integer>, JpaSpecificationExecutor<Student>
{
    List<Student> findByUsernameAndPassword(String username, String password);
}
